Enable no-throw-literal eslint rule in the entire tree
Categories
(Firefox :: General, defect)
Tracking
()
People
(Reporter: Gijs, Assigned: Kwan)
References
Details
Attachments
(1 file)
Assignee | ||
Comment 1•6 years ago
|
||
I have this done locally, modulo a couple test errors https://treeherder.mozilla.org/#/jobs?repo=try&revision=b3dfb79d3e8722b1e5cc8297ebef3eaf4b59cbe9
Also have a new rule to forbid and autofix throw Cr.NS_ERROR;
, since no-throw-literals can't detect that's just an int.
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Green try:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=724b6b5b589c944a265509a5254511ca29117a5
Sheriffs, this patch may have some dependent patches on Lando when you get to this, but they'll be attached to other bugs so they won't need landing, only this one at the bottom of the stack
https://lando.services.mozilla.com/D24088/
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/13e9a230eb25
Enable ESLint rule no-throw-literal by default. r=Standard8
Assignee | ||
Updated•6 years ago
|
Comment 5•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Description
•